package com.hqd.ch03.v22.aop.support;

import com.hqd.ch03.v22.aop.MethodMatcher;

import java.lang.reflect.Method;

public abstract class DynamicMethodMatcher implements MethodMatcher {
    @Override
    public boolean isRuntime() {
        return true;
    }

    /**
     * 动态匹配，这个方法没意义了
     *
     * @param method
     * @param targetClass
     * @return
     */
    @Override
    public boolean matches(Method method, Class<?> targetClass) {
        return true;
    }
}
